Is there a program to download that tells you the coordinates of where i want to place a message to appear on the servers screen or a image ???
Is there a program to download that tells you the coordinates of where i want to place a message to appear on the servers screen or a image ???
Its also possible to open for example the freeze-tag hud change coords and see what happens....that way u will learn what happens if u make changes.
or use a mod with the text on the right place and look in the hud for the coords..
Use the cvar "ui_drawcoords" and set it to 1 to display 2D UI coordinates in MoHAA itself.
Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.
Say you have put the resolution to 1024x768 then the Y-axis starts counting from the top (0 to 768) and the X-axis from the left (0 to 1024). Cvar "ui_drawcoords" confirms this,
however when you use huddraw elements, each element has a certain alignment in both the X-dimension and the Y-dimension. By default this is "center" and "center".
In order to directly use ui_drawcoords output as _rect data for your HUD element, you have to set the alignments such that they match the behaviour observed by ui_drawcoords. By this I mean:
For reference...Code:huddraw_align X "left" "top"
X alignments:
"left": position 0 is the leftmost position on the screen, while position <resolution X> is the rightmost position.
"right": position 0 is the rightmost position on the screen, while position -<resolution X> is the leftmost position.
"center": position 0 is the centre position (for X) on the screen, while -(<resolution X> / 2) is the leftmost position and (<resolution X> / 2) is the rightmost position.
Y alignments:
"top": position 0 is the uppermost position on the screen, while position <resolution Y> is the lowermost position.
"bottom": position 0 is the lowermost position on the screen, while position -<resolution Y> is the uppermost position.
"center": position 0 is the centre position (for Y) on the screen, while -(<resolution Y> / 2) is the uppermost position and (<resolution Y> / 2) is the lowermost position.
Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.